package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_EstimateFeeDetails", catalog="Id")
public class TccEstimateFeeDetails extends BaseEntity<TccEstimateFeeDetails> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="PriceTranPredict", nameJava="priceTranPredict", typeDataBase="decimal")
	private BigDecimal priceTranPredict;
	@YsField(nameDataBase="WeightReal", nameJava="weightReal", typeDataBase="decimal")
	private BigDecimal weightReal;
	@YsField(nameDataBase="WeightVol", nameJava="weightVol", typeDataBase="decimal")
	private BigDecimal weightVol;
	@YsField(nameDataBase="WeightCal", nameJava="weightCal", typeDataBase="decimal")
	private BigDecimal weightCal;
	@YsField(nameDataBase="PriceTranCalWeight", nameJava="priceTranCalWeight", typeDataBase="decimal")
	private BigDecimal priceTranCalWeight;
	@YsField(nameDataBase="NumProName", nameJava="numProName", typeDataBase="int")
	private Integer numProName;
	@YsField(nameDataBase="PriceProNameExtraPredict", nameJava="priceProNameExtraPredict", typeDataBase="decimal")
	private BigDecimal priceProNameExtraPredict;
	@YsField(nameDataBase="PriceQualityExtra", nameJava="priceQualityExtra", typeDataBase="varchar")
	private String priceQualityExtra;
	@YsField(nameDataBase="PriceQualityExtraPredict", nameJava="priceQualityExtraPredict", typeDataBase="decimal")
	private BigDecimal priceQualityExtraPredict;
	@YsField(nameDataBase="PriceExtraPredict", nameJava="priceExtraPredict", typeDataBase="decimal")
	private BigDecimal priceExtraPredict;
	@YsField(nameDataBase="SourceType", nameJava="sourceType", typeDataBase="tinyint")
	private Integer sourceType;
	@YsField(nameDataBase="SourceBid", nameJava="sourceBid", typeDataBase="varchar")
	private String sourceBid;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccEstimateFeeDetails setId(Long id) {
		this.id = id;
		return this;
	}
	public BigDecimal getPriceTranPredict() {
		return priceTranPredict;
	}
	public TccEstimateFeeDetails setPriceTranPredict(BigDecimal priceTranPredict) {
		this.priceTranPredict = priceTranPredict;
		return this;
	}
	public BigDecimal getWeightReal() {
		return weightReal;
	}
	public TccEstimateFeeDetails setWeightReal(BigDecimal weightReal) {
		this.weightReal = weightReal;
		return this;
	}
	public BigDecimal getWeightVol() {
		return weightVol;
	}
	public TccEstimateFeeDetails setWeightVol(BigDecimal weightVol) {
		this.weightVol = weightVol;
		return this;
	}
	public BigDecimal getWeightCal() {
		return weightCal;
	}
	public TccEstimateFeeDetails setWeightCal(BigDecimal weightCal) {
		this.weightCal = weightCal;
		return this;
	}
	public BigDecimal getPriceTranCalWeight() {
		return priceTranCalWeight;
	}
	public TccEstimateFeeDetails setPriceTranCalWeight(BigDecimal priceTranCalWeight) {
		this.priceTranCalWeight = priceTranCalWeight;
		return this;
	}
	public Integer getNumProName() {
		return numProName;
	}
	public TccEstimateFeeDetails setNumProName(Integer numProName) {
		this.numProName = numProName;
		return this;
	}
	public BigDecimal getPriceProNameExtraPredict() {
		return priceProNameExtraPredict;
	}
	public TccEstimateFeeDetails setPriceProNameExtraPredict(BigDecimal priceProNameExtraPredict) {
		this.priceProNameExtraPredict = priceProNameExtraPredict;
		return this;
	}
	public String getPriceQualityExtra() {
		return priceQualityExtra;
	}
	public TccEstimateFeeDetails setPriceQualityExtra(String priceQualityExtra) {
		this.priceQualityExtra = priceQualityExtra;
		return this;
	}
	public BigDecimal getPriceQualityExtraPredict() {
		return priceQualityExtraPredict;
	}
	public TccEstimateFeeDetails setPriceQualityExtraPredict(BigDecimal priceQualityExtraPredict) {
		this.priceQualityExtraPredict = priceQualityExtraPredict;
		return this;
	}
	public BigDecimal getPriceExtraPredict() {
		return priceExtraPredict;
	}
	public TccEstimateFeeDetails setPriceExtraPredict(BigDecimal priceExtraPredict) {
		this.priceExtraPredict = priceExtraPredict;
		return this;
	}
	public Integer getSourceType() {
		return sourceType;
	}
	public TccEstimateFeeDetails setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
		return this;
	}
	public String getSourceBid() {
		return sourceBid;
	}
	public TccEstimateFeeDetails setSourceBid(String sourceBid) {
		this.sourceBid = sourceBid;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccEstimateFeeDetails setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccEstimateFeeDetails setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccEstimateFeeDetails setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccEstimateFeeDetails tccEstimateFeeDetails(
		BigDecimal priceTranPredict,
		BigDecimal weightReal,
		BigDecimal weightVol,
		BigDecimal weightCal,
		BigDecimal priceTranCalWeight,
		Integer numProName,
		BigDecimal priceProNameExtraPredict,
		String priceQualityExtra,
		BigDecimal priceQualityExtraPredict,
		BigDecimal priceExtraPredict,
		Integer sourceType,
		String sourceBid,
		Integer status
			) {
		TccEstimateFeeDetails entity = new TccEstimateFeeDetails();
		entity.setPriceTranPredict(priceTranPredict);
		entity.setWeightReal(weightReal);
		entity.setWeightVol(weightVol);
		entity.setWeightCal(weightCal);
		entity.setPriceTranCalWeight(priceTranCalWeight);
		entity.setNumProName(numProName);
		entity.setPriceProNameExtraPredict(priceProNameExtraPredict);
		entity.setPriceQualityExtra(priceQualityExtra);
		entity.setPriceQualityExtraPredict(priceQualityExtraPredict);
		entity.setPriceExtraPredict(priceExtraPredict);
		entity.setSourceType(sourceType);
		entity.setSourceBid(sourceBid);
		entity.setStatus(status);
		return entity;
	}
}